package com.starlink.model.request;

import com.starlink.common.PageQueryRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("VIP规则设置请求模型")
public class UserVipSetRequest extends PageQueryRequest implements Serializable {
    @ApiModelProperty("VIP金额")
    private BigDecimal amount;
    @Deprecated
    @ApiModelProperty("时效类型 1：永久有效 2：自定义时限")
    private Integer timeLimit;
    @Deprecated
    @ApiModelProperty("年限 单位：年")
    private Integer numberOfYears;
}
